Carbon


GetControlFeatures

Header: Controls.h Carbon status: Supported

Obtains the features a control supports.

OSErr GetControlFeatures (
    ControlRef inControl, 
    UInt32 *outFeatures
);
inControl

A handle to the control to be examined.

outFeatures

On input, a pointer to an unsigned 32-bit integer value. On return, the value contains a bit field specifying the features the control supports. For a list of the features a control may support, see ControlDefProcPtr.

function result

A result code. The result code errMsgNotSupported indicates that the control does not support Appearance-compliant features.

DISCUSSION

The GetControlFeatures function obtains the Appearance-compliant features a control definition function supports, in response to a kControlMsgGetFeatures message.

VERSION NOTES

This function is available with Appearance Manager 1.0 and later.

AVAILABILITY

Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)